package k2_oop.p2_inheritAndPolymorphic.demo04;

public class Adult extends Resident{

    private String educationBackground;
    private String profession;

    public String getEducationBackground() {
        return educationBackground;
    }

    public void setEducationBackground(String educationBackground) {
        this.educationBackground = educationBackground;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }
}
